Skip to content

Enforce directory finalization across native and virtual writes - #59

Merged
opendev9 merged 1 commit into
devfrom
feat/directory-protection
Nov 30, 2026
Merged

opendev9 merged 1 commit into
devfrom
feat/directory-protection

Conversation

@opendev9

Copy link
Copy Markdown

Change

Enforce file and directory finalization in C and Go at native branch publication. Freeze the selected subtree and reject structural changes to its ancestors. Keep sibling paths writable and preserve existing file reservations.

Validation

Targeted Go tests and an isolated C/Go/Hub integration run passed with MariaDB 10.11. The protocol tests exercised existing virtual shares, a nested shared root, pre-issued edit tickets and independent file protection after directory unprotect.

Rollout

Existing installations must apply the additive entry_type migration in a coordinated write outage. Upgrade every writer and the schema verifier before accepting directory reservations through the companion Hub change.

@opendev9
opendev9 merged commit 09da836 into dev Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant